<?php

namespace app\utils\ui\ele;

use app\utils\ui\vue\Base;
use app\utils\ui\VueView;

/**
 * 展示结果的组件
 */
class Result extends Base implements VueView{
    
    public const attr_title='title';
    
    public const attr_sub_title='sub-title';

    /**
     * 'success' | 'warning' | 'info' | 'error'
     */
    public const attr_sub_icon='icon';

    public const slot_child_icon='#icon';
    public const slot_child_title='#title';
    public const slot_child_sub_title='#sub-title';
    public const slot_child_extra='#extra';

    public function render(){
        return parent::base_render('el-result');
    }
}